"use strict";
// 第15节:面向对象编程-命名空间
// 命名空间的使用
var shuaige;
(function (shuaige) {
    var dehua = /** @class */ (function () {
        function dehua() {
            this.name = '刘德华';
        }
        dehua.prototype.talk = function () {
            console.log('我是刘德华');
        };
        return dehua;
    }());
    shuaige.dehua = dehua;
})(shuaige || (shuaige = {}));
var bajie;
(function (bajie) {
    var dehua = /** @class */ (function () {
        function dehua() {
            this.name = '马德华';
        }
        dehua.prototype.talk = function () {
            console.log('我是二师兄马德华');
        };
        return dehua;
    }());
    bajie.dehua = dehua;
})(bajie || (bajie = {}));
var dehua1 = new shuaige.dehua();
var dehua2 = new bajie.dehua();
dehua1.talk();
dehua2.talk();
